<div class="form-group">
  <small class="pull-right">
    <a ng-href="http://momentjs.com/" target="_blank" rel="noopener noreferrer">
      Docs <i class="fa fa-link"></i>
    </a>
  </small>

  <label for="scriptFieldDate">
    moment.js format pattern
    <small>
      (Default: "{{ editor.field.format.getParamDefaults().pattern }}")
    </small>
  </label>

  <field-format-editor-pattern
    id="scriptFieldDate"
    ng-model="editor.formatParams.pattern"
    inputs="cntrl.sampleInputs"
  ></field-format-editor-pattern>

</div>
